<template>
  <div class="comment_head">
    <van-nav-bar :title="title" left-arrow @click-left="$router.go(-1)"
    />
    <slot></slot>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String
    }
  },
  data () {
    return {

    }
  }
}
</script>

<style lang="scss" scoped>
/deep/ .van-nav-bar .van-icon{
  color: #ffdb47;
}
.comment_head{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 1.2rem;
  z-index: 200000;
}
</style>
